package com.dlts.freemarker.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author DLTS
 * @since 2022-01-11
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "Tables对象", description = "")
public class Tables extends Model<Tables> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表目录")
    private String tableCatalog;

    @ApiModelProperty(value = "库名")
    private String tableSchema;

    @ApiModelProperty(value = "表名")
    private String tableName;

    @ApiModelProperty(value = "表类型")
    private String tableType;

    @ApiModelProperty(value = "存储引擎")
    private String engine;

    @ApiModelProperty(value = "版本")
    private Long version;

    @ApiModelProperty(value = "行格式")
    private String rowFormat;

    @ApiModelProperty(value = "表行")
    private Long tableRows;

    @ApiModelProperty(value = "平均行长")
    private Long avgRowLength;

    @ApiModelProperty(value = "数据长度")
    private Long dataLength;

    @ApiModelProperty(value = "最大数据长度")
    private Long maxDataLength;

    @ApiModelProperty(value = "索引长度")
    private Long indexLength;

    @ApiModelProperty(value = "数据免费")
    private Long dataFree;

    @ApiModelProperty(value = "自动递增")
    private Long autoIncrement;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "检查时间")
    private LocalDateTime checkTime;

    @ApiModelProperty(value = "表排序规则")
    private String tableCollation;

    @ApiModelProperty(value = "校验和")
    private Long checksum;

    @ApiModelProperty(value = "创建选项")
    private String createOptions;

    @ApiModelProperty(value = "表注释")
    private String tableComment;


    @Override
    public Serializable pkVal() {
        return null;
    }

}
